package cn.iocoder.yudao.module.data.controller.admin.dscategory.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

/**
 * @author gukun
 */
@Schema(description = "管理后台 - 分类新增/修改 Request VO")
@Data
public class DsCategorySaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "5385")
    private Long id;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotEmpty(message = "名称不能为空")
    private String name;

    @Schema(description = "描述", example = "你猜")
    private String description;

    @Schema(description = "类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotEmpty(message = "类型不能为空")
    private String type;

    @Schema(description = "父级ID", example = "14719")
    private Long pid;

    @Schema(description = "更新方式：0：替换；1：追加", example = "2")
    private String editType;

    @Schema(description = "详细信息", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "详细信息不能为空")
    private String configuration;

    @Schema(description = "状态", example = "2")
    private String status;

    @Schema(description = "状态")
    private String qrtzInstance;

    @Schema(description = "任务状态", example = "1")
    private String taskStatus;

    @Schema(description = "启用数据填报功能")
    private Integer enableDataFill;

}